package com.work.bean;

/**
 * Created by Administrator on 2017/9/29.
 */
public class Student{

    private int id;
    private String username;
    private String password;
    private int classId;

    public Student(int id, int classId) {
        this.id = id;
        this.classId = classId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public Student(int id, String username, String password, int classId) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.classId = classId;
    }

    public Student(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Student() {
    }


}
